﻿using Confluent.Kafka;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.EventBus.FastDog.Transport.Kafka;

public interface IConnectionPool: IDisposable
{
    IProducer<string, byte[]> RentProducer();

    bool Return(IProducer<string, byte[]> producer);
}
